package org.itboys.store.service;

import org.itboys.mongodb.core.MongoDataSource;
import org.itboys.mongodb.service.BaseService;
import org.itboys.store.entity.OrderPayRecord;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by huml on 2016/5/20.
 */
@Service
public class StoreOrderPayRecordService extends BaseService <OrderPayRecord, Long> {

    @Resource(name = "productDS")
    private MongoDataSource orderPayRecordDataSource;

    @Override
    protected MongoDataSource getMongoDataSource() {
        return orderPayRecordDataSource;
    }
}
